package com.component;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RestController;

/**
 * @program: etodo
 * @description: 获取配置文件中的类容
 * @author: YinHaoQiu
 * @create: 2021-09-28
 **/
@Component("yhqProperties")
@PropertySource(value = "classpath:svn.properties", ignoreResourceNotFound = true,encoding = "UTF-8" )
public class yhqProperties {


    @Value("${svnName}")
    private String svnName;

    @Value("${svnPass}")
    private String svnPass;

    @Value("${kbPath}")
    private String kbPath;

    @Value("${ecologyUrl}")
    private String ecologyUrl;

    @Value("${ecologyResin8}")
    private String ecologyResin8;

    @Value("${ecologyResin9}")
    private String ecologyResin9;

    public String getEcologyResin9() {
        return ecologyResin9;
    }

    public void setEcologyResin9(String ecologyResin9) {
        this.ecologyResin9 = ecologyResin9;
    }
    public String getEcologyResin8() {
        return ecologyResin8;
    }

    public void setEcologyResin8(String ecologyResin8) {
        this.ecologyResin8 = ecologyResin8;
    }

    public String getEcologyUrl() {
        return ecologyUrl;
    }

    public void setEcologyUrl(String ecologyUrl) {
        this.ecologyUrl = ecologyUrl;
    }

    public String getSvnName() {
        return svnName;
    }

    public void setSvnName(String svnName) {
        this.svnName = svnName;
    }

    public String getSvnPass() {
        return svnPass;
    }

    public void setSvnPass(String svnPass) {
        this.svnPass = svnPass;
    }

    public String getKbPath() {
        return kbPath;
    }

    public void setKbPath(String kbPath) {
        this.kbPath = kbPath;
    }

    @Override
    public String toString() {
        return "yhqProperties{" +
                "svnName='" + svnName + '\'' +
                ", svnPass='" + svnPass + '\'' +
                ", kbPath='" + kbPath + '\'' +
                ", bigUpgragePath='" + bigUpgragePath + '\'' +
                '}';
    }

    public String getBigUpgragePath() {
        return bigUpgragePath;
    }

    public void setBigUpgragePath(String bigUpgragePath) {
        this.bigUpgragePath = bigUpgragePath;
    }

    @Value("${bigUpgragePath}")
    private String bigUpgragePath;






}
